package com.travelparadise.service;

import java.util.Collection;

import com.travelparadise.dao.ActiviteDao;
import com.travelparadise.dao.HotelDao;

import com.travelparadise.domain.Activite;
import com.travelparadise.domain.Hotel;
import com.travelparadise.domain.Ville;

public class ActiviteService {
	private ActiviteDao activiteDao;
	
	public Activite getById(int id){
		return activiteDao.getById(id);
	}

	public Collection<Activite> getByVille(Ville ville){
		return activiteDao.getActivitesInVille(ville);	
	}

	public ActiviteDao getActiviteDao() {
		return activiteDao;
	}

	public void setActiviteDao(ActiviteDao activiteDao) {
		this.activiteDao = activiteDao;
	}

}
